package kr.hkit.powerjava.chapter11.Programming;

public class Phone {

	private String manufacturer;//제조회사
	private int price;//가격
	private String commType;//통신타입
	
	public Phone() {//기본생성자
	}
	
	public Phone(String manufacturer, int price, String commType) {
		//세종류 모두 받는 생성자
		this.manufacturer = manufacturer;
		this.price = price;
		this.commType = commType;
	}

	//아래로는 접근자 설정자
	
	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getCommType() {
		return commType;
	}

	public void setCommType(String commType) {
		this.commType = commType;
	}	
}
